<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<title>编辑角色-权限管理-{$site.BACK_NAME}</title>
<include file="Public:jscss"/>
</head>
<body>
<div class="wrap">
 <include file="Public:head"/>
 <div class="mainBody">
  <include file="Public:left"/>
  <div id="Right">
   <div class="contentArea">
    <div class="Item hr">
     <div class="current">编辑角色</div>
    </div>
    <form action="" method="post">
     <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
	  <tr>
       <th width="120">唯一标识：</th>
       <td><input name="ident" type="text" class="input" size="40" value="{$info.ident}" /> <span style="color:red;">代码级标识位,如果不清楚该用途请勿更改!</span></td>
      </tr>
      <tr>
       <th width="120">角色组名称：</th>
       <td><input name="name" type="text" class="input" size="40" value="{$info.name}" /> </td>
      </tr>
      <tr>
       <th>状态：</th>
       <td>
		<select name="status" style="width: 80px;">
		 <option value="1" {:is_selected($info['status'],1)}>启用</option>
		 <option value="0" {:is_selected($info['status'],0)}>禁用</option>
		</select>
	   </td>
      </tr>
      <tr>
       <th>父级角色：</th>
       <td>
		<select name="pid" style="min-width: 80px;">
		 <option value="0">不指定</option>
		 <foreach name="pr_option" item="pr">
		 <option value="{$pr.id}" {:is_selected($pr['id'],$info['pid'])} {:is_disabled($pr['id']==$info['id'], true)}>{$pr.fullname}</option>
		 </foreach>
		</select>
	   </td>
      </tr>
      <tr>
       <th>显示排序：</th>
       <td><input class="input" name="sort" type="text" size="40" value="{$info.sort}" /> </td>
      </tr>
      <tr>
       <th>描 述：</th>
       <td><textarea name="remark" style="width: 400px;">{$info.remark}</textarea></td>
      </tr>
     </table>
     <input type="hidden" name="id" value="{$info.id}"/>
    </form>
    <div class="commonBtnArea" >
     <button class="btn cfz_submit">提交</button>
    </div>
   </div>
  </div>
 </div>
</div>
<div class="clear"></div>
<include file="Public:foot"/>
<script type="text/javascript">
$(function(){
	//提交表单
	$(".cfz_submit").click(function(){
		commonAjaxSubmit();
	});
});
</script>
</body>
</html>